package application.gui.main;

import java.awt.EventQueue;
import java.sql.SQLException;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import application.gui.main.startWindow.Homepage;

public class ParcelMain {

	/**
	 * @param args
	 */

	public static void main(String arg[]) throws ClassNotFoundException, SQLException{
		try {
			UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	EventQueue.invokeLater(new Runnable()
	{
		public void run()
		{
			homepageFrame = new Homepage();
			homepageFrame.setVisible(true);
		}
	});
	
		}	private static Homepage homepageFrame;

}
